home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / MacOS 8 Resources / Developer Tools / Mac OS 8 Interfaces & Libraries / Interfaces / IDLIncludes / TSMTokenize.idl < prev    next >
Text File  |  1996-05-01  |  1KB  |  66 lines

  1. /*
  2.      File:        TSMTokenize.idl
  3.  
  4.      Contains:    Declarations for the SOM based Text Services Manager service Objects.
  5.  
  6.      Version:    Technology:    4/20/95    2/21/95
  7.                  Release:    Universal Interfaces 3.0d3 on Copland DR1
  8.  
  9.      Copyright:    © 1995-1996 by Apple Computer, Inc.  All rights reserved.
  10.  
  11.      Bugs?:        If you find a problem with this file, send the file and version
  12.                  information (from above) and the problem description to:
  13.  
  14.                      Internet:    apple.bugs@applelink.apple.com
  15.                      AppleLink:    APPLE.BUGS
  16. */
  17.  
  18.  
  19. #include <somobj.idl>
  20. #include <somcls.idl>
  21. #include <TextObjects.idl>
  22. #include <TSMObject.idl>
  23.  
  24.  
  25. interface TSMTokenize : TSMObject
  26. {
  27.     attribute    TextObject         fTextRun;
  28.     attribute    TextObjectIndex    fRunStartIndex;
  29.     attribute    TextObjectIndex    fRunEndIndex;
  30.     attribute    TextObjectIndex    fTokenStartIndex;
  31.     attribute    TextObjectIndex    fTokenEndIndex;
  32.     attribute    UInt32            fControlFlags;
  33.  
  34.     OSStatus    GetNextToken( in TextObject token);
  35.  
  36.  
  37. #ifdef __SOMIDL__
  38.     implementation
  39.     {
  40.         releaseorder:     GetNextToken, 
  41.                         _get_fTextRun, 
  42.                         _set_fTextRun,
  43.                         _get_fRunStartIndex, 
  44.                         _set_fRunStartIndex, 
  45.                         _get_fRunEndIndex, 
  46.                         _set_fRunEndIndex,
  47.                         _get_fTokenStartIndex, 
  48.                         _set_fTokenStartIndex,
  49.                         _get_fTokenEndIndex, 
  50.                         _set_fTokenEndIndex,
  51.                         _get_fControlFlags, 
  52.                         _set_fControlFlags;
  53.         InitializeService      : override;
  54.         TerminateService       : override;
  55.         ServiceChanged        : override;
  56.         somInit                : override;
  57.         majorversion = 1;
  58.         minorversion = 1;
  59.         
  60.     };
  61. #endif
  62.  
  63. };
  64.  
  65.  
  66.